package cn.tedu.tourism.order.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class RoomOrdersParam {
    @ApiModelProperty(value = "订单id")
    Long id;
    @ApiModelProperty(value = "用户id")
    Long userId;
    @ApiModelProperty(value = "酒店id")
    Long hotelId;
    @ApiModelProperty(value = "房间id")
    Long roomId;
    @ApiModelProperty(value = "住客姓名")
    String guestName;
    @ApiModelProperty(value = "住客手机号")
    String phone;
    @ApiModelProperty(value = "入住日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date checkinDate;
    @ApiModelProperty(value = "退房日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date checkoutDate;
    @ApiModelProperty(value = "订房数量")
    Long roomNum;
    @ApiModelProperty(value = "总价")
    Double totalPrice;
    @ApiModelProperty(value = "支付方式")
    String payMethod;
}
